package cn.touna.jss.modules.custom.carmodel.mapper;

import cn.touna.jss.modules.custom.carmodel.entity.Car300SeriesEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface Car300SeriesEntityMapper {


    int insert(Car300SeriesEntity record);

    int updateBySeriesId(Car300SeriesEntity record);

    List<Car300SeriesEntity> selectByPage(
            @Param("brandId") int brandId,
            @Param("pageSize") int pageSize,
            @Param("offset") int offset,
            @Param("seriesName") String seriesName
    );

    List<Car300SeriesEntity> selectAll(@Param("brandId") int brandId, @Param("seriesName") String seriesName);

    int selectCount(
            @Param("brandId") int brandId,
            @Param("seriesName") String seriesName
    );

}